package com.itheima.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.entity.Devices;
import com.itheima.mapper.DevicesMapper;
import com.itheima.service.IDevicesService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


/**
* devices 相关service实现类
* @author WEI
* @since 2021-8-6 15:38:56
*/
@Service
public class DevicesServiceImpl  implements IDevicesService {

@Autowired
private DevicesMapper devicesMapper;

    @Override
    public List<String> getAllSubwayByCityName(String cityName) {
           return devicesMapper.getAllSubwayByCityName(cityName);
    }
    @Override
    public List<String> getAllPlatFormByLineName(String lineName, String cityName){
        return  devicesMapper.getPlatByLineName(lineName,cityName);
    }
}